{% set current_page='feed' %}

{% extends 'federation/master.html' %}

{#
SPDX-FileCopyrightText:  2020-2021 zPlus <zplus@peers.community>
SPDX-License-Identifier: GPL-2.0-only
#}

{% block page_content %}

    {% if feeds|length == 0 %}
        Your feed is empty.
    {% endif %}

    <div>
        {% for feed in feeds %}
            <div class="mb-3">
                {% with feed=feed.content %}
                    <div>{% include 'federation/feed.html' %}</div>
                {% endwith %}

                <div class="font-italic">{{ feed.created.strftime('%b, %-d %H:%M') }}</div>
            </div>
        {% endfor %}
    </div>

{% endblock %}
